Aspects of Memory Management in Java and C++

نویسندگان

  • Emil Vassev
  • Joey Paquet
چکیده

Memory management is one of the most fundamental programming issues. Knowing the important aspects of how to manage the memory in your programming environment is critical for effective programming. There are languages, like Java, which provide an internal automatic mechanism for managing memory, but that does not make memory management less important. In other languages like C++ you have to do the memory management. In this paper, we draw upon our experience and the experience of other researchers of this field to discuss the advantages and disadvantages of the two major memory manager models – manual and automatic, the last presented in the form of garbage collection.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Approach to Buffer Management in Java HPC Messaging

One of the most challenging aspects to designing a Java messaging system for HPC is the intermediate buffering layer. The lower and higher levels of the messaging software use this buffering layer to write and read messages. The Java New I/O package adds the concept of direct buffers, which—coupled with a memory management algorithm—opens the possibility of efficiently implementing this bufferi...

متن کامل

Scoped Types and Aspects for Real-Time Java

Real-time systems are notoriously difficult to design and implement, and, as many real-time problems are safety-critical, their solutions must be reliable as well as efficient and correct. While higher-level programming models (such as the Real-Time Specification for Java) permit real-time programmers to use language features that most programmers take for granted (objects, type checking, dynam...

متن کامل

Porting the JMTk memory management toolkit

JMTk is a memory management toolkit written in Java, originally for the JikesRVM Java Virtual Machine. JMTk provides reusable components for the development of allocation and garbage collection algorithms, an efficient implementation of a rapidly growing number of memory management schemes, and is an important enabler for memory management research. A portable version of JMTk will allow the gro...

متن کامل

Java Virtual Machine: the key for accurated memory prefetching

The popularity of the Java language is easily understandable analyzing the specific features of the language and the execution environment. However, there are still aspects of the Java execution environment that are not exploited. One of the most distinctive features of this platform is the knowledge that the Java Virtual Machine (JVM) has about the runtime characteristics of the applications. ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006